import request from '@/utils/request'

export default {
  //1.生成统计数据
  createStaData(day){
    return request({
      url: `/statistics/count/register/${day}`,
      method: 'post'
    })
  },

  //2.生成图表中的数据
  showData(queryInfo){
    return request({
      url: `/statistics/showData`,
      method: 'post',
      data: queryInfo
    })
  }
}
